package com.binfast.app.admin.controller;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import com.binfast.app.admin.services.AdminMenuServ;
import com.binfast.common.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/adminMenu")
public class AdminMenuCtrl {
    private static final Log log = LogFactory.get();

    @Autowired
    AdminMenuServ adminMenuServ;

    @RequestMapping(value = "/findList",method = RequestMethod.POST)
    public Result findList() {
        return Result.success(adminMenuServ.findList());
    }

}
